﻿using SocketioTest.Common;
using System;
using System.Windows;

namespace SocketioTest.ViewModel
{
    internal class LoginViewModel
    {
        public CommandBase Closewindoszhibo { get; set; }
        public LoginViewModel()
        {
            this.Closewindoszhibo = new CommandBase();
            this.Closewindoszhibo.DoExecute = new Action<object>((o) =>
            {
                (o as Window).Close();
            });
            this.Closewindoszhibo.DocanExecute = new Func<object, bool>((o) =>
            {
                return true;
            });
        }


    }
}
